package com.antu.first.bean;

/**
 * 房价规则
 * Created by Administrator on 2018/3/4.
 */
public class Rule {

    private int ruId;//Id

    private int ruWeekDay;//星期几启用这条规则

    private double ruMultiple;//倍率

    private RoomStrategy roomStrategy;//房价策略

    public Rule() {
    }

    public Rule(int ruId, int ruWeekDay, double ruMultiple, RoomStrategy roomStrategy) {

        this.ruId = ruId;
        this.ruWeekDay = ruWeekDay;
        this.ruMultiple = ruMultiple;
        this.roomStrategy = roomStrategy;
    }

    public int getRuId() {

        return ruId;
    }

    public void setRuId(int ruId) {
        this.ruId = ruId;
    }

    public int getRuWeekDay() {
        return ruWeekDay;
    }

    public void setRuWeekDay(int ruWeekDay) {
        this.ruWeekDay = ruWeekDay;
    }

    public double getRuMultiple() {
        return ruMultiple;
    }

    public void setRuMultiple(double ruMultiple) {
        this.ruMultiple = ruMultiple;
    }

    public RoomStrategy getRoomStrategy() {
        return roomStrategy;
    }

    public void setRoomStrategy(RoomStrategy roomStrategy) {
        this.roomStrategy = roomStrategy;
    }

    @Override
    public String toString() {
        return "Rule{" +
                "ruId=" + ruId +
                ", ruWeekDay=" + ruWeekDay +
                ", ruMultiple=" + ruMultiple +
                ", roomStrategy=" + roomStrategy +
                '}';
    }
}
